﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DAO;
using DTO;
namespace BUS
{
    public static class KhachHangBUS
    {
        #region phần của Luân
        public static bool KiemTraDangNhap(string tenDangNhap, string matKhau, ref string hoTen, ref string maKhachHang)
        {
            return KhachHangDAO.KiemTraDangNhap(tenDangNhap, matKhau, ref hoTen, ref maKhachHang);
        }

        public static DataTable ThongTinKhachHang(string maKhachHang)
        {
            return KhachHangDAO.ThongTinKhachHang(maKhachHang);
        }

        public static bool ThemKhachHang(ref KhachHangDTO kh)
        {
            return KhachHangDAO.ThemKhachHang(ref kh);
        }
        #endregion
    }
}
